﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using zanpen2000.common;



namespace ConsoleFileSecurity
{
    class Program
    {
        static void Main(string[] args)
        {
            string filename = @"F:\操作系统\en_windows_8_1_enterprise_x64_dvd_2971902.iso";
//            filename = @"f:\zp\商海导航增强版V5.rar";
            filename = @"f:\zp\11.bmp";
            ByteCrypto.FileEncrypt(filename);

            Console.WriteLine("now try open ...");
            Console.ReadKey();

            ByteCrypto.FileDecrypt(filename);

            Console.WriteLine("try open again...");
            Console.ReadKey();
        }
    }
}
